<%--
  Created by IntelliJ IDEA.
  User: 莫伟杰
  Date: 2019/8/1
  Time: 10:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>UMS</title>
</head>
<body>
    <%
        String msg = (String) request.getAttribute("msg");
        String redirect = (String) request.getAttribute("redirect");
        if(msg!=null)
        {
    %>
    <script>
        alert("<%=msg%>");
        window.location.href='<%=redirect%>';
    </script>
    <%
        }
    %>

</body>
</html>
